package department_request

import (
	"private-go-sdk/http"
	"encoding/json"
	"private-go-sdk/model/common"
)

type DepartmentGroupRequest struct {
	Company *common.CompanyRequest `json:"company,omitempty"`
}
func (obj DepartmentGroupRequest) GetUrl() string {
    return "/department/group"
}

func (obj DepartmentGroupRequest) GetHttpParameter() *http.HttpParameter {
    parameter := http.NewPostHttpParameter()
    jsonBytes, _ := json.Marshal(obj)
    parameter.SetJsonParamer(string(jsonBytes))
    return parameter
}
